import React, { Component } from "react";
import "./03-class.css";

class Class extends Component {
  render() {
    return (
      <>
        <h3>class样式</h3>
        {/* 添加class的时候要加class关键字换成className关键字 */}
        <p className="font">hello React!</p>

        <label htmlFor="abc">姓名：</label>
        <input type="text" id="abc" />
      </>
    );
  }
}

export default Class;
